body {
	background: #faf8bd;
	color: #333;
}

body, p, ol, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size:   13px;
  line-height: 18px;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a { color: #000; }
a:visited { color: #666; }
a:hover { color: #704FFF;  }

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#errorExplanation {
  width: 400px;
  border: 2px solid red;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

div.uploadStatus {
  margin: 5px;
}

div.progressBar {
  margin: 5px;
}

div.progressBar div.border {
  background-color: #fff;
  border: 1px solid gray;
  width: 100%;
}

div.progressBar div.background {
  background-color: #333;
  height: 18px;
  width: 0%;
}

/* ----------------------------------------------------------------- */

/* Layout */

img {
	border: none;
}

#header {
	border: dotted blue 1px;
}

#sidebar {
	padding-top: 20px;
	width: 11em;
 	position: absolute;
	/*background: url(/images/grad.png) ;*/
}

#sidebar a {
	color: #FFF;
	background: url('/images/butt-2.png') no-repeat;
	display:block;
	left: -30em;
	width: 124px;
	height: 35px;
	text-align: center;
}

#sidebar a:hover {
	background: url('/images/button-highlighted.png') no-repeat;
}

#contents {
	margin-left: 11em;
	border: dotted red 1px;
	border-top: none;	
	border-bottom: none;		
}

#footer {
	padding: 0;
	height: 100px;
	border: dotted blue 1px;
}

/* ----------------------------------------------------------------- */

/*Navigation bar*/
#navbar {

}

p.connected_user {
	background: /*#c0d4e4*/url(/images/bck.png);
	height: 20px;
	/*width: 80%;*/
	border: 1px solid #2828CA;
	border-left: none;
	border-right: none;
	margin: 1px;
}

p.connected_user {display: inline;}

#navbar p.connected_user a, #navbar p.connected_user a:hover {
	background: none;
	padding: 0;
}


#navbar a {
	text-align: center;
	/*font-size: large;*/
	display: block;
	background: url('/images/butt-2.png') no-repeat;
	width: 128px;
	height: 42px;
	color: #fff;
}

#navbar a:hover {
	background: url('/images/button-highlighted.png') no-repeat;
}


/* RESOURCEs  */

div.resource {
	margin-left: 5px;
	margin-right: 220px;
	background: /*#ece8ff*/ url('/images/grad.png') repeat-x top white;
	border: solid blue 0px;
	margin-bottom: 5px;
	margin-bottom: 30px;
}

#res_title a{
	color: #1818d1;
	font-size: x-large;
	margin: 10px;
}

p.description { /* the desc of a resource */
		background: /*e4ddff*/ /*#f0f0f0*/ url('/images/bck.png');
	border-top: grey solid 1px;
	border-bottom: grey solid 1px;
}


div.grade_a_resource {
	float:left;
}

p.comment { /* every p which contains a comment to a res. */
	border-bottom: dotted #3b3b3b 1px;
}


div.r_comments a{
	text-decoration: none;
}

/* Search */

#foud_resource {
	border: 2px groove blue;
}

/* Users */

#user_row { /* every row of the table in index */
	background: url(/images/grad.png);
}

#user_personal_page {
	margin-top: 30px;
	background: url(/images/grad.png) repeat-x;
}

/* Tag cloud stuff */

.tagcloud {
	background: url('/images/bck.png');
	margin-top: 50px;
	right:20px;
	position: fixed;
	width: 200px; 
	border: 1px solid grey;
}

.tagcloud a {
	color: blue;
	font-weight: bold;
}

#multiple_tag {
	
	right:20px;
	position:fixed;
}
